package testing;

import java.io.File;

import constants.NetworkConstants;

import networkdescriptor.NetworkDescriptor;

import tcp.filetransfer.FileTransferClient;
import tcp.filetransfer.FileTransferManager;
import tcp.request.DownloadRequest;
import tcp.request.UploadRequest;

public class FileTransferTest {
	public static void main(String[] args) {
		/*File myFile = new File("test-src.txt");
		UploadRequest myUpload = new UploadRequest("localhost", 4444, myFile);
		manager.requestFileUpload(myUpload, null);*/
		FileTransferClient.requestFileUpload("localhost",NetworkConstants.DEFAULT_FU_PORT,new File("test-src.txt"));
		//FileTransferClient.requestFileDownload(new NetworkDescriptor("localhost", NetworkConstants.DEFAULT_FD_PORT), "test-src.txt", "download");
	}
}
